package de.baumann.browser.api.net

import de.baumann.browser.api.net.base.BaseUrl
import de.baumann.browser.api.net.vo.Actives
import de.baumann.browser.api.net.vo.Result
import io.reactivex.Observable
import retrofit2.http.POST

@BaseUrl(ApiKey.APP_MODULE)
interface AppConfigService {

    @POST(ApiKey.GET_ACTIVE_COFIG)
    fun getActiveConfig():Observable<Result<Actives>>

    @POST(ApiKey.GET_AIRDROPTIME)
    fun getAirDropTime():Observable<Result<String>>
}